package com.rednote.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

/**
 * 用户浏览记录表(UserViewHistory)实体类
 *
 * @author yao suxuan
 * @since 2025-05-24 18:10:29
 */
@Data
@TableName("user_view_history")
public class UserViewHistory {
    /**
     * 浏览记录ID
     */
    private Long historyId;
    /**
     * 浏览用户ID
     */
    private Integer userId;
    /**
     * 被浏览的帖子ID
     */
    private Integer postId;
    /**
     * 浏览时间
     */
    private Date viewTime;
}
